package entity

import ()

type MessageRecord struct {
	Id int64 `gorm:"column:id;type:BIGINT;primary_key" json:"id"`

	UserId int64 `gorm:"column:user_id;type:BIGINT" json:"user_id"`

	MsgId int64 `gorm:"column:msg_id;type:BIGINT" json:"msg_id"`

	Success int `gorm:"column:success;type:TINYINT" json:"success"`

	CreatedAt int64 `gorm:"column:created_at;type:BIGINT" json:"created_at"`
}

func (a *MessageRecord) TableName() string {
	return "message_records"
}
